home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / language / embedded / mcu332 / 332-101.arc / A.HLP < prev    next >
Text File  |  1989-11-01  |  1KB  |  28 lines

  1.  
  2.              Single Line Assembler ADDRESSING MODES.
  3.  
  4. Note: This assembler is "Dumb" in it's handling of Address modes
  5. 5 and 6; it makes no attempt to decide "what you meant", but only
  6. does "what you say". Also sub-mode 7,2 behaves in a manner similar
  7. to mode 5; sub-mode 7,3 behaves in a manner similiar to mode 6.
  8.  
  9. Mode 5 appears as a subset of mode 6 where the index register has
  10. been suppressed. That is, if the index register is ommited from the
  11. source code line, mode 5 and mode 6 are indistingushable.  Some
  12. assemblers will always choose the shorter form, mode 5 in this
  13. case. This, however, prevents you from from selecting mode 6 with
  14. index register suppression. This assembler requires you to suppress
  15. a register using the "Z" prefix. You suppress a register
  16. by prepending a "Z" to the register name. The following are
  17. examples:
  18.  
  19.         ($1234,a2,za0)        Suppress the Index register.
  20.         ($1234,za3,d7)        Suppress the Base register.
  21.         ($1234,zpc,a0)        Suppress the PC register.
  22.  
  23.  
  24.         ($1234,a2,za0)        Mode 6 (with register suppress).
  25.         ($1234,a2)        Mode 5 (with no index register).
  26.  
  27. %END
  28.